Category: Geeks r Us
I'm bored of my business work now, so decided to play about with the JAWS script files. Does anyone want to join and make some? I made one to write my name in Microsoft word.
Here it is.
HarmonyMortimer ()
TypeString ("Harmony Mortimer")
SayFormattedMessage (OT_MESSAGE, "Harmony Mortimer")
EndScript
Activate it with control, shift and h.
and what's the point of that? I mean, sorry! smiles.
I wrote one to switch the punctuation settings on the fly, for when i have to do maths I need punctuation to all, but when I'm reading something, I switch it to some. here's the script.
Script TogglePunctuationState ()
var
string Punc
PunctuationToggle (false)
let punc = PunctuationToggle(true)
SayString(punc)
EndScript
Nice. That sounds useful, not like the one I made purely because I couldn't be bothered to type the word! Hahahaha!
lol. I made one to put Hello! in the virtual buffer but it don't work. Big grin.
That's annoying. I tried to make a couple of scripts that wouldn't work and wondered why, until someone told me I'd missed one particular line out. Then when I put it in, the script worked.
Here's one to say the time in hh:mm:ss tt (hours:minutes:seconds am/pm):
Script sayTime()
sayMessage(OT_USER_REQUESTED_INFORMATION, sysGetTime("hh:mm:ss tt"))
EndScript
Gotta love it... I wish jfw would get a hint from window eyes 7, they said you could program in javascript? Cool script! thanks!
so, does anyone see a problem with this/
Script Testing ()
SayMessage (OT_USER_BUFFER, "this is a test.", )
EndScript
It says invalid parameter format or something.
Get rid of the last comma. The line should read:
sayMessage(OT_User_Buffer, "this is a test.")
Ah, then the jaws script manager, even the basics of scripting manual, is broken! ha ha! I used the GUI to make that. It works! Thanks! Hmm...